﻿/*!
 * monk.ui.css
 * version: 0.2.4
 * author: 百小僧（QQ：8020292）
 * site：http://www.baisoft.org
 * QQ群：123049073
 * https://github.com/MonkSoul/Monk.UI/
 */

/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */ html { font-family: sans-serif; line-height: 1.15; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; }
body { margin: 0; }
article, aside, footer, header, nav, section { display: block; }
h1 { font-size: 2em; margin: .67em 0; }
figcaption, figure, main { display: block; }
figure { margin: 1em 40px; }
hr { box-sizing: content-box; height: 0; overflow: visible; }
pre { font-family: monospace,monospace; font-size: 1em; /*自定义*/ overflow: auto; }
a { background-color: transparent; -webkit-text-decoration-skip: objects; }
a:active, a:hover { outline-width: 0; }
abbr[title] { border-bottom: none; text-decoration: underline; text-decoration: underline dotted; }
b, strong { font-weight: inherit; }
b, strong { font-weight: bolder; }
code, kbd, samp { font-family: monospace,monospace; font-size: 1em; }
dfn { font-style: italic; }
mark { background-color: #ff0; color: #000; }
small { font-size: 80%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sub { bottom: -.25em; }
sup { top: -.5em; }
audio, video { display: inline-block; }
audio:not([controls]) { display: none; height: 0; }
img { border-style: none; }
svg:not(:root) { overflow: hidden; }
button, input, optgroup, select, textarea { font-family: sans-serif; font-size: 100%; line-height: 1.15; margin: 0; }
button, input { overflow: visible; }
button, select { text-transform: none; }
[type=reset], [type=submit], button, html [type=button] { -webkit-appearance: button; }
[type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner, button::-moz-focus-inner { border-style: none; padding: 0; }
[type=button]:-moz-focusring, [type=reset]:-moz-focusring, [type=submit]:-moz-focusring, button:-moz-focusring { outline: 1px dotted ButtonText; }
fieldset { border: 1px solid silver; margin: 0 2px; padding: .35em .625em .75em; }
legend { box-sizing: border-box; color: inherit; display: table; max-width: 100%; padding: 0; white-space: normal; }
progress { display: inline-block; vertical-align: baseline; }
textarea { overflow: auto; }
[type=checkbox], [type=radio] { box-sizing: border-box; padding: 0; }
[type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button { height: auto; }
[type=search] { -webkit-appearance: textfield; outline-offset: -2px; }
[type=search]::-webkit-search-cancel-button, [type=search]::-webkit-search-decoration { -webkit-appearance: none; }
::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; }
details, menu { display: block; }
summary { display: list-item; }
canvas { display: inline-block; }
template { display: none; }
[hidden] { display: none; }
input::-ms-clear { display: none; }
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button { -webkit-appearance: none !important; margin: 0; }
input[type="number"] { -moz-appearance: textfield; }

@font-face { font-family: 'iconfont'; src: url('fonts/iconfont.eot'); /* IE9*/ src: url('fonts/iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('fonts/iconfont.woff') format('woff'), /* chrome、firefox */ url('fonts/iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ url('fonts/iconfont.svg#iconfont') format('svg'); /* iOS 4.1- */ }
.monk-iconfont { font-family: "iconfont" !important; font-size: 16px; font-style: normal; -webkit-font-smoothing: antialiased; -webkit-text-stroke-width: 0.2px; -moz-osx-font-smoothing: grayscale; }
.icon-monk-number:before { content: "\e60a"; }
.icon-monk-file:before { content: "\e60f"; }
.icon-monk-time:before { content: "\e60c"; }
.icon-monk-arrowup:before { content: "\e602"; }
.icon-monk-required:before { content: "\e600"; }
.icon-monk-dagou:before { content: "\e604"; }
.icon-monk-input:before { content: "\e601"; }
.icon-monk-date:before { content: "\e60e"; }
.icon-monk-radio:before { content: "\e608"; }
.icon-monk-radio-checked:before { content: "\e609"; }
.icon-monk-dacha:before { content: "\e607"; }
.icon-monk-arrowdown:before { content: "\e606"; }

/*基础*/
* { box-sizing: border-box; -moz-box-sizing: border-box; }
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { margin-top: 1px; }
::-webkit-scrollbar-thumb { background: #9f9f9f; }
::-webkit-scrollbar-thumb:window-inactive { background: #9f9f9f; }

/*表单*/
.monk-content-10 { padding: 10px; }
.monk-form-item.inline { display: inline-block; }
.monk-form-item { margin-bottom: 10px; clear: both; position: relative; }
.monk-form-label { display: block; padding: 0 0 5px 0; color: #3498db; }
.monk-form-wrap { display: inline-block; border: 1px solid #e6e6e6; border-radius: 3px; position: relative; overflow: hidden; }
.monk-form-wrap.monk-full { width: 100%; }
.monk-form-wrap.focus { border-color: #1abc9c; box-shadow: 0 0 10px #1abc9c; }
.monk-form-wrap .monk-iconfont { background: #f9f9f9; display: inline-block; height: 40px; width: 40px; line-height: 40px; text-align: center; font-size: 18px; color: #999; pointer-events: none; vertical-align: top; float: left; }
.monk-form-wrap .monk-iconfont.border-left { border-left: 1px solid #e6e6e6; }
.monk-form-wrap .monk-iconfont.border-right { border-right: 1px solid #e6e6e6; }
.monk-form-wrap .monk-iconfont.icon-monk-required { background: transparent; font-size: 12px; width: 30px; color: #e74c3c; position: relative; }
.monk-form-wrap .monk-iconfont.textarea-icon { height: 100px; line-height: 100px; }

/*输入框*/
.monk-form-input { height: 40px; border: none; outline: 0; background: transparent; display: inline-block; font-size: 16px; margin: 0; padding: 0 10px; float: left; }
.monk-form-input.min { width: 100px; }
.monk-form-input.middle { width: 200px; }
.monk-form-input.normal { width: 300px; }
.monk-form-input.large { width: 400px; }
.monk-form-input.xlarge { width: 500px; }
.monk-form-tip { color: #999; font-size: 13px; padding: 3px 0 0 0; clear: both; }
.monk-form-input[disabled] { background: #f2f2f2; cursor: not-allowed; }
.monk-form-wrap span.monk-iconfont.monk-clear-input { pointer-events: auto; cursor: pointer; color: #d9d9d9; visibility: hidden; }
.monk-form-wrap span.monk-iconfont.monk-clear-input:hover { background: #f2f2f2; }

/*多行输入*/
.monk-form-textarea { height: 100px; border: none; outline: 0; background: transparent; display: inline-block; font-size: 16px; margin: 0; padding: 5px 10px; float: left; resize: none; line-height: 24px; }
.monk-form-textarea.min { width: 300px; }
.monk-form-textarea.middle { width: 400px; }
.monk-form-textarea.normal { width: 500px; }
.monk-form-textarea.large { width: 600px; }
.monk-form-textarea.xlarge { width: 700px; }
.monk-form-textarea[disabled] { background: #f2f2f2; cursor: not-allowed; }

/*选择框*/
.monk-form-checkbox-wrap { cursor: pointer; }
.monk-checkbox-text { display: inline-block; float: left; height: 40px; line-height: 40px; font-size: 16px; padding: 0 10px; }
.monk-form-checkbox-wrap[checked] { border: 1px solid #1abc9c; transition: border 0.2s; -moz-transition: border 0.2s; }
.monk-form-checkbox-wrap[checked] .monk-checkbox-text { background: #1abc9c; color: #fff; transition: background 0.2s; -moz-transition: background 0.2s; }
.monk-form-checkbox-wrap[checked] .monk-iconfont { color: #1abc9c; border-left: 1px solid #1abc9c; transition: border 0.2s; -moz-transition: border 0.2s; }
.monk-form-checkbox-wrap.focus { border-color: #1abc9c; box-shadow: 0 0 10px #1abc9c; }
.monk-form-checkbox-wrap[disabled] { cursor: not-allowed; }
.monk-form-checkbox-wrap[disabled] .monk-checkbox-text { background: #f2f2f2 !important; color: #000; }
.monk-checkbox { display: none; }

/*滑块*/
.monk-form-switch-wrap { cursor: pointer; padding-left: 40px; border: 1px solid #e6e6e6; }
.monk-form-switch-wrap .monk-iconfont { position: absolute; top: 0; left: 0; z-index: 10; border-right: 1px solid #e6e6e6; }
.monk-form-switch-wrap .monk-iconfont:before { content: "\e607"; }
.monk-switch-text { display: block; float: left; height: 40px; line-height: 40px; padding: 0 10px; }
.monk-form-switch-wrap[checked] { border: 1px solid #1abc9c; padding-left: 0; padding-right: 40px; }
.monk-form-switch-wrap[checked] .monk-iconfont { border-left: 1px solid #1abc9c; border-right: 0; background: #1abc9c; color: #fff; left: auto; right: 0; }
.monk-form-switch-wrap[checked] .monk-iconfont:before { content: "\e604"; }
.monk-form-switch-wrap[disabled] { background: #f2f2f2; cursor: not-allowed; }
.monk-form-switch-wrap.focus { border-color: #1abc9c; box-shadow: 0 0 10px #1abc9c; }
.monk-switch { display: none; }

/*单选按钮*/
.monk-form-radio-wrap { cursor: pointer; background: transparent; border: 1px solid #e6e6e6; transition: background,border 0.2s; -moz-transition: background,border 0.2s; }
.monk-radio-text { display: inline-block; float: left; height: 40px; line-height: 40px; font-size: 16px; padding: 0 10px 0 0; }
.monk-form-radio-wrap .monk-iconfont { background: transparent; font-size: 20px; content: "\e608"; }
.monk-form-radio-wrap[checked] { background: #1abc9c; border: 1px solid #1abc9c; }
.monk-form-radio-wrap[checked] .monk-radio-text { color: #fff; }
.monk-form-radio-wrap[checked] .monk-iconfont { color: #fff; }
.monk-form-radio-wrap[checked] .monk-iconfont:before { content: "\e609"; }
.monk-form-radio-wrap[disabled] { background: #f2f2f2; cursor: not-allowed; }
.monk-form-radio-wrap[disabled][checked] .monk-iconfont { color: #1abc9c; }
.monk-form-radio-wrap[disabled][checked] .monk-radio-text { color: #1abc9c; }
.monk-form-radio-wrap.focus { border-color: #1abc9c; box-shadow: 0 0 10px #1abc9c; }
.monk-radio { display: none; }

/*下拉列表*/
.monk-form-select { height: 200px; border: 1px solid #e6e6e6; position: absolute; left: 0; top: 64px; background: #fff; right: 0; z-index: 100; border-color: #1abc9c; box-shadow: 0 0 10px #1abc9c; overflow: auto; }
.monk-form-select.monk-none { display: none; }
.monk-form-wrap.monk-form-select-wrap .monk-iconfont.monk-select-arrow { cursor: pointer; pointer-events: auto; }
.monk-form-wrap.monk-form-select-wrap .monk-iconfont.monk-select-arrow:before { content: "\e606"; }
.monk-form-wrap.monk-form-select-wrap.focus .monk-iconfont.monk-select-arrow:before { content: "\e602"; }
.monk-form-option, .monk-form-optgroup { height: 40px; padding: 0 10px; line-height: 40px; font-size: 14px; }
.monk-form-option:hover, .monk-form-option[selected] { background: #f2f2f2; cursor: pointer; }
.monk-form-optgroup { font-weight: bold; background: #f1f1f1; }
.monk-select { display: none; }

/*时间选择器*/
.monk-form-time { height: 210px; border: 1px solid #e6e6e6; position: absolute; left: 0; top: 64px; background: #fff; right: 0; z-index: 100; border-color: #1abc9c; box-shadow: 0 0 10px #1abc9c; overflow: hidden; }
.monk-form-time.monk-none { display: none; }
.monk-form-time-title { border-bottom: 1px solid #e6e6e6; height: 40px; line-height: 40px; }
.monk-form-time-title span { display: block; float: left; width: 33.3333%; border-right: 1px solid #e6e6e6; text-align: center; font-size: 14px; color: #3498db; }
.monk-form-time-title span:last-child { border-right: none; }
.monk-form-time-list { overflow: auto; height: 130px; position: absolute; width: 100%; bottom: 40px; left: 0; right: 0; }
.monk-form-time-item { float: left; width: 33.3333%; height: 100%; position: relative; overflow: auto; border-right: 1px solid #e6e6e6; }
.monk-form-time-item:last-child { border-right: none; }
.monk-form-time-hour, .monk-form-time-minute, .monk-form-time-second { display: block; text-align: center; font-size: 16px; height: 32px; line-height: 32px; cursor: pointer; }
.monk-form-time-hour:hover, .monk-form-time-minute:hover, .monk-form-time-second:hover,
.monk-form-time-hour.selected, .monk-form-time-minute.selected, .monk-form-time-second.selected { background: #f2f2f2; cursor: pointer; }
.monk-form-time-btn { height: 40px; border-top: 1px solid #e6e6e6; font-size: 14px; color: #3498db; cursor: pointer; position: absolute; width: 100%; bottom: 0; left: 0; right: 0; }
.monk-form-time-btn span { display: block; float: left; width: 50%; text-align: center; height: 40px; line-height: 40px; }
.monk-form-time-btn span:first-child { border-right: 1px solid #e6e6e6; }
.monk-form-wrap.monk-form-time-wrap .monk-iconfont.icon-monk-time { cursor: pointer; pointer-events: auto; }

/*文件选择*/
.monk-form-image-wrap { border: none; position: relative; }
.monk-form-image-wrap .monk-input-button { margin-right: 0; cursor: pointer; margin-top: 0 !important; }
.monk-file { position: absolute; top: 0; left: 0; z-index: 10; right: 0; bottom: 0; height: 100%; width: 100%; border: none; outline: none; background: transparent; opacity: 0.01; cursor: pointer; color: transparent; }

/*按钮*/
.monk-input-button { text-decoration: none; font-size: 14px; display: inline-block; color: #444; background: #fff; border-radius: 3px; white-space: nowrap; padding: 12px 20px; margin-right: 15px; vertical-align: middle; text-align: center; border: none; outline: none; cursor: pointer; margin-top: 10px; }
.monk-input-button.turquoise { background: #1ABC9C; color: #fff; }
.monk-input-button.turquoise:hover { background: #1dd2af; }
.monk-input-button.emerland { background: #2ECC71; color: #fff; }
.monk-input-button.emerland:hover { background: #40d47e; }
.monk-input-button.peterRiver { background: #3498DB; color: #fff; }
.monk-input-button.peterRiver:hover { background: #4aa3df; }
.monk-input-button.amethyst { background: #9b59b6; color: #fff; }
.monk-input-button.amethyst:hover { background: #a66bbe; }
.monk-input-button.clouds { background: #ECF0F1; color: #bdc3c7; }
.monk-input-button.clouds:hover { background: #f3f3f3; }
.monk-input-button .monk-iconfont { padding-right: 4px; font-size: 16px; vertical-align: middle; float: left; display: inline-block; }
.monk-input-button[disabled] { background: #f0f0f0 !important; cursor: not-allowed; color: #b2b2b2; }

/*显示文本*/
.monk-form-detail-wrap { padding: 10px; background: #f5f5f5; font-size: 16px; line-height: 24px; color: #444; }

/*显示代码*/
.monk-form-code-wrap { border: none; }
.monk-code { border: 1px solid #e6e6e6; background: #f5f5f5; width: 100%; padding: 20px 10px 20px 0; position: relative; margin: 0; }
.monk-code-language { position: absolute; right: 0; bottom: 0; z-index: 10; font-family: Arial; padding: 3px; color: #999; font-size: 12px; }
.monk-code ol.monk-code-area { list-style-type: decimal; margin: 0; }
.monk-code ol.monk-code-area li { font-size: 12px; color: #999; padding: 0; }
.monk-code ol.monk-code-area li:nth-child(2n+1) { background: #f0f0f0; }
.monk-code ol.monk-code-area li code { color: #000; line-height: 1.8; font-size: 14px; padding: 0 10px; font-family: Arial; display: block; }
